<p>You can use your scroll wheel to zoom in and out of the map.</p>
<!--<div id="map" style="width: 600px; height: 400px"></div>-->

<table>
	<tr>
		<td><div id="map" style="width: 600px; height: 400px;"></div></td>
		<td valign="top">
		<form action="http://localhost/omwpt/index.php/map" method="post" name="form" onChange=updateAntennaArray() style="text-align: left; width: 250px; font-weight: bold; border: 2px solid #999999; padding: 5px; padding-top: 0;">
		<h3>Features</h3><br>
		<table>
		<tr>
			<td>
			Lat:(click map) <input size="7" id="lat" type="text" name="lat"/>
			</td><td>
			<image src="/omwpt/media/icon/Help_icon_Small.png" style="margin-left: 10px; vertical-align: middle;" title="The latitude of the current antenna.  Click around the map to move the antenna.">
			</td>
		</tr><tr>
			<td>
			Lng:(click map) <input size="7" id="lng" type="text" name="lng"/>
			</td><td>
			<image src="/omwpt/media/icon/Help_Icon_Small.png" style="margin-left: 10px; vertical-align: middle;" title="The longitude of the current antenna.  Click around the map to move the antenna.">
			</td>
		</tr><tr>
			<td>
			Gain: <input size="3" id="gain" type="text" name="gain" disabled="true"/>
			</td><td>
			<image src="/omwpt/media/icon/Help_Icon_Small.png" style="margin-left: 10px; vertical-align: middle;" title="The gain of the current antenna (This is currently a stub - changing this value will not affect the output).">
			</td>
		</tr><tr>
			<td>
			Ant. Height: <input size="5" id="height" type="text" name="height" value="30"/>ft.
			</td><td>
			<image src="/omwpt/media/icon/Help_Icon_Small.png" style="margin-left: 10px; vertical-align: middle;" title="The height (above ground) of the current antenna (This is currently a stub - changing this value will not affect the output).">
			</td>
		</tr><tr>
			<td>
			Eff. Rad. Pwr.: <input size="5" id="erp" type="text" name="erp" value="1"/>watts.
			</td><td>
			<image src="/omwpt/media/icon/Help_Icon_Small.png" style="margin-left: 10px; vertical-align: middle;" title="The effective radiation power of the current antenna.">
			</td>
		</tr><tr>
			<td>
			Frequency: <input size="5" id="frequency" type="text" name="frequency" value="2400"/>MHz.
			</td><td>
			<image src="/omwpt/media/icon/Help_Icon_Small.png" style="margin-left: 10px; vertical-align: middle;" title="The frequency of the current antenna. Must be between 20MHz and 20000MHz">
			</td>
		</tr><tr>
			<td>
			Direction: <input name="sliderValue" id="direction" type="Text" size="2" onchange="A_SLIDERS[0].f_setValue(this.value)">
			</td><td>
			<image src="/omwpt/media/icon/Help_Icon_Small.png" style="margin-left: 10px; vertical-align: middle;" title="The angle in degrees of the current antenna - 0 is exactly North, 180 is exactly South (This is currently a stub - changing this value will not affect the output).">
			</td>
		</tr>
		</table>
		<script type="text/javascript">
			var A_TPL = {		
				'b_vertical' : false,
				'b_watch': true,
				'n_controlWidth': 120,
				'n_controlHeight': 16,
				'n_sliderWidth': 16,
				'n_sliderHeight': 15,
				'n_pathLeft' : 1,
				'n_pathTop' : 1,
				'n_pathLength' : 103,
				's_imgControl': '/omwpt/media/icon/slider/blueh_bg.gif',
				's_imgSlider': '/omwpt/media/icon/slider/blueh_sl.gif',
				'n_zIndex': 1
			}
			var A_INIT = {
				's_form' : 0,
				's_name': 'sliderValue',
				'n_minValue' : -179,
				'n_maxValue' : 180,
				'n_value' : 0,
				'n_step' : 1
			}
			new slider(A_INIT, A_TPL);
		</script>
		<br/>
		<input type="button" value="Add an Antenna" onClick="addAnt()" />
		<input type="text" id="radioArray" name="radioArray"/>
		<input type="hidden" id="antennaIndex" />
		<input type="submit" value="Model Network" />
		</form>
		<br/><br/>
		
		<input id="isAntenna" type="hidden" value="false" />
		<script type="text/javascript">
		// Allows the user to place an antenna rather than repositioning the current one.
		function addAnt()
		{
			document.getElementById('isAntenna').value = false;			
		}
		
		function updateAntennaArray()
		{
			var tempIndex = document.getElementById('antennaIndex').value;
		}
		</script>
		 
		</td>
</table>

